package top.smallway.lightbandassistant_app.data;

public class Message {
    private String title;
    private String key;
    private String content;
    private String ip;
    private String created_at;
    private String author;
    private String hash;
    private int id;

    public Message(String title, String key, String content, String ip, String created_at, String author, int id, String hash) {
        this.title = title;
        this.key = key;
        this.content = content;
        this.ip = ip;
        this.created_at = created_at;
        this.author = author;
        this.id = id;
        this.hash = hash;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
